﻿using System;
using System.Text;

namespace BizElements.Core.ProviderComponents
{
    sealed class GenericTableRenderer : ITableRenderer
    {
        public void RenderTableName(IDbTable table, StringBuilder output)
        {
            // Special characters are not handled.
            output.Append(table.TableName);
        }

        public void RenderAlias(IDbTable table, StringBuilder output)
        {
            // Special characters are not handled.
            output.Append(table.Alias);
        }
    }
}